package com.zy.edu.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author HuangHaiShui
 * @since 2021-08-24
 */
@TableName("tool_info")
@Data
public class ToolInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String info;
    @TableField("cover_url")
    private String coverUrl;
    @TableField("visit_url")
    private String visitUrl;
    @TableField("create_time")
    @JSONField(format="yyyy-MM-dd")
    private Date createTime;


}
